Skip to main content

Claude Code

Claude Code is Anthropic's agentic coding tool for the terminal. Official site: code.claude.com

1.1 Anthropic-Compatible Path​

Run the following commands in the same terminal session before starting Claude Code with claude. After the variables are set, launch Claude Code from that terminal window.

export ANTHROPIC_BASE_URL="https://api.hpc-ai.com/inference"
export ANTHROPIC_API_KEY="your-hpc-ai-api-key"
export ANTHROPIC_MODEL="moonshotai/kimi-k2.7-code"

You can also add it to the /model picker:

export ANTHROPIC_CUSTOM_MODEL_OPTION="moonshotai/kimi-k2.7-code"
export ANTHROPIC_CUSTOM_MODEL_OPTION_NAME="HPC-AI Minimax M2.5"

1.2 References​